#ifndef __DIANZHENG_H__
#define __DIANZHENG_H__

#define ROW 8
#define LED P0

typedef unsigned int u16;	  //???????????
typedef unsigned char u8;

extern u8 ledNum;
sbit SRCLK=P3^6;
sbit RCL=P3^5;
sbit SER=P3^4;

void delay(u16 i);
void Hc595SendByte(u8 dat);
void scan(u16 delay_time);
void output(u16 delay_time, u8* out1);

#endif